<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/2
 * Time: 9:11
 */
namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Http\Controllers\QueryController;
use Illuminate\Http\Request;

class AdminBaseController extends Controller{

    protected $query = null;

    /**
     * 赋值到页面的参数  其他的页面参数都追加到这里
     * @var array
     */
    protected $param = [];



    public function __construct(Request $request){
        //(\Route::current()->getActionName()); 获取当前控制器  权限管理的时候看能不能用得着
        $this->param['query'] = new QueryController();

    }

}